﻿using UnityEngine;
using System.Collections;

public class Start_Screen : MonoBehaviour {

	// Use this for initialization
    private Rect rect;
    private GUIText messageText;

    // Use this for initialization
    void Start()
    {


    }

    // Update is called once per frame
    void Update()
    {

    }

    void OnGUI()
    {
        Rect rect = new Rect(Screen.width / 2.5f, Screen.height / 1.48f, 220, 80);
        if (GUI.Button(rect, "START"))
        {
            StartGame();
        }

    }

    void StartGame()
    {
        Application.LoadLevel(1);
    }
}
